<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp"%>
<html>
	<head>
	<script src="${contextPath}/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
		<title>流程审核</title>
		<script type="text/javascript">

		$(document).ready(function(){           
			$("#check_all").click(function(){  
				$('[type=checkbox]').attr('checked', $("#check_all").is(':checked'));
			});    
			
			$('[type=button]').click(function(e){
				$("#type").val(e.target.id);
				$("#auditForm").submit();
			}); 
			
			});
		</script>
	</head>
	<body>
      <form name="auditForm" id="auditForm" method="post" action="audit.do">
	      <table width="100%" border="0" cellspacing="-1" cellpadding="-1">
	        <tr bgcolor="#F3FAE4">
	          <td colspan="2">
	          	请选择需要审核的合格证：<br/>
	          	<s:checkbox id="check_all" name="check_all"></s:checkbox>
	          	<s:checkboxlist list="wf.objects" listKey="objectId" listValue="objectId" name="ids">
	          	</s:checkboxlist>
	            </td>
	        </tr>
	        <tr bgcolor="#F3FAE4">
	          <td>
	          <input type="hidden" name="wf.id" value="<s:property value="wf.id"/>"> 
	          <input type="hidden" id="type" name="type"> 
	          	<input id="pass" type="button" value="通过">
	          </td>
	          <td>
	          	<input id="refuse" type="button" value="退回">
	          </td>
	        </tr>
	      </table>
      </form>

	</body>
</html>